import {chair} from "@/api/chairapi.js";
export let chairstore={
    module:{

    },
    state:{
        arr:[]
    },
    getters:{

    },
    mutations:{
        getchair(state,payload){
            state.arr=payload
            // console.log(state.arr)
        }
    },
    actions:{
        sends(store){
            chair("/api/xiaomipro/goods/chair2").then((ok)=>{  
                store.commit("getchair",ok.data.chair)
            })
        }
    },
}